<div id="login" class='container'>
  <div class='row'>
    <div class="col-md-8 col-md-offset-2 well">
      <div class='row'>
        <div class='text-center'>
          <h2>Đăng nhập <img alt="Khảo sát việt - khảo sát trực tuyến" src="<?php echo base_url();?>media/ksv-logo2.png"></h2>
        </div>
      </div>
      <hr>
      <div class="row">
        <?php echo form_open("public/auth/login");?>

         <div class="form-group">
            <label for="email" class="col-sm-4 control-label">Tên đăng nhập hoặc Email:</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" placeholder="Tên đăng nhập hoặc địa chỉ Email" name="email">
            </div>
         </div>
         <div class="form-group">
            <label for="password" class="col-sm-4 control-label">Password:</label>
            <div class="col-sm-8">
                <input class="form-control" type="password" placeholder="Mật khẩu" name="password">
            </div>
         </div>
         <div class="form-group">
          <div class="col-sm-offset-4 col-sm-8">
            <div class="alert alert-danger fade in">
              <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
              <p><?php echo $msg;?></p>
            </div>
            <div>
              <label class="checkbox-inline"> <input type="checkbox" class="uniform" value="" /> Ghi nho </label>
            </div>
          </div>
        </div>
        <div class="form-group">
          <div class="col-sm-offset-4 col-sm-8">
            <?php echo form_submit('submit', 'Đăng nhập');?>
            <a href="<?php echo site_url('quen-mat-khau');?>">Quên mật khẩu?</a>
          </div>
        </div>
        <?php echo form_close();?>
        <p class="text-center"><a href="<?php echo site_url('cac-goi-dich-vu-va-gia');?>">Bạn chưa là thành viên? Đăng ký tại đây</a></p>  
        <div id="social-login" class="clearfix horizontal">
           <ul  class="list-inline text-center">
              <li>
                <form name="reggoogle" action="">
                  <button class="btn text-left" href="" type="submit"><img src="<?php echo base_url().'media/google.png';?>" alt="google">&nbsp;&nbsp;Google</button>
                </form>
              </li>
              <li>
                <form name="regfacebook" action="">
                  <button class="btn text-left" href="" type="submit"><img src="<?php echo base_url().'media/Facebook.png';?>" alt="facebook">&nbsp;&nbsp;Facebook</button>
                </form>
              </li>
              <li>
                <form name="regyahoo" action="">
                  <button class="btn text-left" href="" type="submit"><img src="<?php echo base_url().'media/yahoo.png';?>" alt="yahoo">&nbsp;&nbsp;Yahoo</button>
                </form>
              </li>
              <li>
                <form name="regtwitter" action="">
                  <button class="btn text-left" href="" type="submit"><img src="<?php echo base_url().'media/twitter.png';?>" alt="twitter">&nbsp;&nbsp;Twitter</button>
                </form>
              </li>
            </ul>
          </div>
      </div>
    </div>
  </div>
</div>
